Chapter 6. Defining Sets and Indexes

6.1 Numeric Indexes
6.2 Named Indexes
6.3 Alias Indexes
6.4 Circular Indexes
6.5 Subsets of Indexes
6.6 Function Indexes
6.7 Set Operations on Indexes
6.8 Multi-dimensional Index Sets
6.9 Reading Index for External File
6.10 Import Index from Excel Spreadsheet
6.11 Import Index from Database

The index section is used to define the domains of the model. The indexes are then used throughout the model when objects like subscripted variables and data coefficients, summations and structured constraints are used. Indexes encapsulate the problem dimensions and make it easy to quickly adjust the problem size.

There are two basic types of indexes; numeric and named. The numeric indexes are used to give each subscript item a numerical value. The named indexes are used to give each subscript item a descriptive name.


Back To Top | Maximal Home Page | Table of Contents | Previous Page | Next Page